import { IsIn, IsNumber } from 'class-validator'
import { ResourceStatus } from '../models/resource.model'

export class ChangePendingBotStatusDto {
  @IsNumber()
  @IsIn([ ResourceStatus.Pending, ResourceStatus.Banned ])
  declare status: ResourceStatus.Pending | ResourceStatus.Banned
}
